Midras 1 Tawarikh 3:10: Pesikta Rabbati, Midrash Tanchuma, Shemot Rabbah & Aggadat Bereshit

וּבֶן־שְׁלֹמֹ֖ה רְחַבְעָ֑ם אֲבִיָּ֥ה בְנ֛וֹ אָסָ֥א בְנ֖וֹ יְהוֹשָׁפָ֥ט בְּנֽוֹ׃

Anak Salomo ialah Rehabeam; anaknya ialah Abia; anaknya ialah Asa; anaknya ialah Yosafat;

Pesikta Rabbati

... Another explanation. “And all the work that king Solomon had wrought in the house of the Lord was finished.” (Melachim I 7:51) What does ‘all the work’ mean? It was built by itself, rising and floating up – thus it does not say when the house was built, but rather “And the house, when it was in building…” (Melachim I 6:7) “…was built of stone finished at the quarry (masa)…” (ibid.) What does ‘finished at the quarry’ (masa nivne) mean? R’ Brechia said: the stone picked itself up (nosah atzma), rose up and was built by itself. This is what Shlomo said in his song “I have surely built You a house to dwell in…” (Melachim I 8:13) He says ‘I have surely built’, meaning ‘I built a building and the stones rose up and flew into place themselves’. If you are shocked that the Holy One would do such a thing for a single righteous person, “And a stone was brought and placed on the mouth of the pit…” (Daniel 6:18) And where did they get a rock in Bavel? Our Rabbis said that it rolled all the way from the land of Israel and came in an instant. So if the Holy One did such a thing for flesh and blood, are you surprised that He would do so for the building of a house to the Holy One?
Tanya RabiBookmarkShareCopy

Midrash Tanchuma

From whom will the Messiah descend? From Zerubbabel. Why was he called Zerubbabel? Because he was born in Babel (Babylonia). From whom did Zerubbabel descend? From David, as it is said: And Solomon’s son was Rehoboam; Abijah his son … and Delaiah, and Anani, seven (I Chron. 3:10–24). To whom does Anani refer? To the Messiah, as is said: For who hath despised the day of small things? Even they shall see with joy the plummet in the hand of Zerubbabel, even these seven (Zech. 4:10). And it is written elsewhere: I saw in the night visions, and, behold, there came with clouds (ananei) of heaven, one like unto a son of man (Dan. 7:13).
Tanya RabiBookmarkShareCopy

Shemot Rabbah

Another interpretation: “This month shall be for you [the first of months]” (Exodus 12:2) – that is what is written: “In his days let the righteous flourish, and abundance of peace, until the moon is no more” (Psalms 72:7). Before the Holy One blessed be He took Israel out of Egypt, He made it known to them by allusion that their royalty would endure for them for thirty generations, as it is stated: “This month shall be for you the first of months.” The month is thirty days, and your royalty will be thirty generations. On the first of Nisan, the moon begins to shine, and it gradually increases its light until the fifteenth day, and its orb becomes full. From fifteen until thirty days, its light wanes, and on the thirtieth it is not seen. So Israel, for fifteen generations from Abraham until Solomon. Abraham began to give light, as it is stated: “Who has risen from the east, righteousness attends his footsteps” (Isaiah 41:2). Isaac came, and he also gave light, as it is stated: “Light is sown for the righteous” (Psalms 97:11). Jacob came and added light, as it is stated: “The light of Israel shall be fire” (Isaiah 10:17). And then Judah, Peretz, Ḥetzron, Ram, Aminadav, Naḥshon, Salmon, Boaz. Oved, Yishai, David.
When Solomon came, the orb of the moon became full, as it is stated: “Solomon sat on the throne of the Lord as king” (I Chronicles 29:23). Can a person sit on the throne of the Holy One blessed be He, of whom it is stated: “His throne was fiery flames” (Daniel 7:9)? Rather, just as the Holy One blessed be He rules from one end of the world to the other end, and He rules over all the kings, as it is stated: “All the kings of the earth shall give thanks to You” (Psalms 138:4), so, Solomon ruled from one end of the world to the other end, as it is stated: “And all the kings of the earth sought the presence of Solomon…and each of them brought his gift” (II Chronicles 9:23–24). That is why it is stated: “Solomon sat on the throne of the Lord as king.” The garb of the Holy One blessed be He is majesty and glory, and He granted Solomon royal majesty, as it is stated: “He bestowed upon him royal majesty” (I Chronicles 29:25). Regarding the throne of the Holy One blessed be He it is written: “As for the likeness of their faces, the face of a man, and the face of a lion […and the face of an ox from the left for the four of them]” (Ezekiel 1:10), and regarding Solomon it is written: “And on the borders that were between the frames were lions, oxen” (I Kings 7:29), and another verse says: “Like the work of the chariot wheel” (I Kings 7:33). No evil touches the throne of the Holy One blessed be He, as it is stated: “Evil will not reside with You” (Psalms 5:5); regarding Solomon, it is written: “There is neither adversary nor evil occurrence” (I Kings 5:18). The Holy One blessed be He made six heavens, and He sits in the seventh, and regarding the throne of Solomon it is written: “The throne had six steps” (I Kings 10:19), and he sat on the seventh step.
The orb of the moon thereby became full, and from there the kings began diminishing: “The son of Solomon, Reḥavam” (I Chronicles 3:10), the son of Reḥavam, Aviya, his son Asa, Yehoshafat, Yehoram, Ahaziah, Yoash, Amatzyahu, Uzziah, Yotam, Hezekiah, Menashe, Amon, Josiah, Yehoyakim. When Zedekiah came, as it is written: “He blinded the eyes of Zedekiah” (Jeremiah 52:11), the light of the moon was lacking. All those years, even though Israel was sinning, the patriarchs were praying for them and making peace between Israel and the Omnipresent, as it is stated: “Let the mountains bear peace to the people” (Psalms 72:3), and the mountains are nothing other than the patriarchs, as it is stated: “Hear, O heights, the Lord’s grievance” (Micah 6:2). Until when were the patriarchs praying for them? Until Zedekiah lost his eyes and the Temple was destroyed, as it is stated: “And abundance of peace, until the moon is no more,” until thirty generations that Israel had royalty. From that moment until now, who makes peace for Israel? It is the Lord, as it is stated: “May the Lord lift His countenance to you and grant you peace” (Numbers 6:26).
Tanya RabiBookmarkShareCopy